package com.creatapark.mapper;

import com.creatapark.entity.CarData;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * ParkInOutMapper
 *
 * @author Bruce01.fan
 * @date 2017/12/20
 */
@Mapper
public interface ParkInOutMapper {


    @Insert("INSERT INTO t_car_inout_data(park_id,plate_number,in_time,out_time) VALUES(#{parkId},#{plateNumber},#{intTime},#{outTime})")
    public void insertData(CarData carData);
}
